package ucd.csi.comp30220.fall2011.oteop.airport;

import java.util.Date;
import ucd.csi.comp30220.fall2011.oteop.flight.Flight;

/**
 * Stores runway reservation info.
 * 
 * @author Lukasz Jasinski
 */

public class RunwayReservation {
	
	private Date date;
	private Flight flight; 
	private int type;

	/**
     * @param type <code>ControlTower.LANDING</code> or <code>ControlTower.DEPARTURE</code>
     * @param date reservation date         
     * @param flight flight for which reservation is made
     */
	public RunwayReservation(int type, Date date, Flight flight) {
		this.type = type;
		this.date = date;
		this.flight = flight;
	}
	
	public int getType(){
		return type;
	}
	
	public Date getDate(){
		return date;
	}
	
	public Flight getFlight(){
		return flight;
	}
}
